package generatoreLALR;

import calcolatriceJflexByaccj.*;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String args[]) throws IOException {
		Parser yyparser;
		if (args.length==0) 
			yyparser = new Parser(new InputStreamReader(System.in),false);
		else 
			yyparser = new Parser(new java.io.FileReader(args[0]),false);
			
		
		yyparser.yyparse();
	}
}

